<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>留言板用户登录</title>
    <link rel="stylesheet" href="/stylesheets/css/index.css">
    <style media="screen">
      .postedmessage {
        height: 1220px;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <header>
        <h1 class="mesBody">随心留言板</h1>
        <p class="mesId">————随时随地，写我所想</p>
      </header>
      <nav>
        <ul>
          <li class="li"><a href="/users/logout"> 主页 </a></li>
          <li class="li"><a href="#" ><%=user.loginname%> 已登陆</a></li>
          <li class="li"><a href="/users/logout"> 退出 </a></li>
        </ul>
      </nav>
      <div class="main box">
        <div class="postedmessage">
          <%for(var i in meses){%>
          <div>
            <p class="mesBody"><%=meses[i].content%></p>
            <p class="mesId"><%=meses[i].loginname%>---<%=i%></p>
          </div>
          <%}%>
        </div>
        <form class="message" action="/users/up" method="post">
          <textarea name="content" maxlength="100" ></textarea>
          <%= firstnum %> + <%=secondnum%> = <input type="text" class="verif" name="vnum" >
          <button type="submit" name="button">留言</button>
        </form>
      </div>
      <div class="sideline box">
        <div class="links">
           <h1> 联系我们 </h1>
           <p> Telephone：xxxxxxxx </p>
           <p> Email：xxx@xxxxx </p>
           <p> 微信扫码： </p>
           <img src="../images/weixinma.jpg" class="image">
         </div>
      </div>
      <footer>
        <p>使用条款和隐私条s款。版权所有，保留一切权利。</p>
      </footer>
    </div>
  </body>
</html>
